package com.xyxeshang.es.music.backend.entity;

import com.fasterxml.jackson.annotation.JsonIgnoreProperties;

import java.util.Date;

/**
 * @author xyx-Eshang
 */
@JsonIgnoreProperties("handler")
public class PlaylistComment {
	private Integer playlistCommentId;
	private String playlistCommentContent;
	private Date playlistCommentTime;
	private Integer playlistId;
	private String userOpenId;

	private User user;

	@Override
	public String toString() {
		return "PlaylistComment{" +
				"playlistCommentId=" + playlistCommentId +
				", playlistCommentContent='" + playlistCommentContent + '\'' +
				", playlistCommentTime=" + playlistCommentTime +
				", playlistId=" + playlistId +
				", userOpenId='" + userOpenId + '\'' +
				", user=" + user +
				'}';
	}

	public Integer getPlaylistCommentId() {
		return playlistCommentId;
	}

	public PlaylistComment setPlaylistCommentId(Integer playlistCommentId) {
		this.playlistCommentId = playlistCommentId;
		return this;
	}

	public String getPlaylistCommentContent() {
		return playlistCommentContent;
	}

	public PlaylistComment setPlaylistCommentContent(String playlistCommentContent) {
		this.playlistCommentContent = playlistCommentContent;
		return this;
	}

	public Date getPlaylistCommentTime() {
		return playlistCommentTime;
	}

	public PlaylistComment setPlaylistCommentTime(Date playlistCommentTime) {
		this.playlistCommentTime = playlistCommentTime;
		return this;
	}

	public Integer getPlaylistId() {
		return playlistId;
	}

	public PlaylistComment setPlaylistId(Integer playlistId) {
		this.playlistId = playlistId;
		return this;
	}

	public String getUserOpenId() {
		return userOpenId;
	}

	public PlaylistComment setUserOpenId(String userOpenId) {
		this.userOpenId = userOpenId;
		return this;
	}

	public User getUser() {
		return user;
	}

	public PlaylistComment setUser(User user) {
		this.user = user;
		return this;
	}
}
